package com.fjec.market.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fjec.market.entity.BizMarketBusi;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 008.市场商户关系表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2020-09-10
 */
public interface BizMarketBusiMapper extends BaseMapper<BizMarketBusi> {

    /**
     * 获取商铺所在市场数量
     *
     * @param busiType
     * @param busiId
     * @return
     */
    Map<String, Object> getMarketCountForShop(@Param("busiType") Integer busiType,
                                              @Param("busiId") Long busiId);
}
